package com.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
/*order_id,order_code,order_addres,order_posts,order_receiver
* mobile,user_message,create_date,pay_date,delivery_date,user_id
* confirm_date,status,body,total_amount,subject
* */
@Data
public class OrderForm implements Serializable {
    private int order_id;
    private String order_code;
    private String order_addres;
    private int order_posts;
    private String order_receiver;
    private String mobile;
    private String user_message;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date create_date;
    private Date pay_date;
    private Date delivery_date;
    private int user_id;
    private Date confirm_date;
    private int status;
    private String body;
    private int total_amount;
    private String subject;
    private Sell sell;

}
